package misp_backend.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import misp_backend.domain.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import misp_backend.domain.Orderdetails;

import java.util.List;

/**
* @author yang
* @description 针对表【order】的数据库操作Service
* @createDate 2025-03-19 23:53:18
*/
public interface OrderService extends IService<Order> {
    Order createOrder(List<Orderdetails> orderitem, Long tableId,int customerNum);
    boolean checktable(Long tableId);
    boolean changtable(Long orderid,Long tableId);
    boolean createOrderByPackage(Long packageid,Long tableId,int customerNum);


   List<Order> listwithname() ;
}
